﻿using System.ComponentModel.DataAnnotations;

namespace HelperFromTheSkeleton.Model.APICoreModels
{
    public class CreatBuilderModel
    {
        public string[] Args { get; set; } = Array.Empty<string>();


        [Required(ErrorMessage = "API名称不能为空！")]
        public string? ApiName { get; set; }

        [Required(ErrorMessage = "API标识编码不能为空！")]
        public string? ApiCode { get; set; }

        public string[] APIXmlPath { get; set; } = Array.Empty<string>();

        /// <summary>
        /// 是否启用小驼峰命名
        /// </summary>
        public bool isSmallHump { get; set; } = false;
    }
}
